home *** CD-ROM | disk | FTP | other *** search
/ Utilities Professional 1-1500 / Utilities Professional 1-1500 (1994)(WPD)[!].iso / 12511500 / var1432.dms / var1432.adf / NDUK-V40.lha / V40 / include / exec / resident.h < prev    next >
C/C++ Source or Header  |  1993-10-15  |  1KB  |  44 lines

  1. #ifndef    EXEC_RESIDENT_H
  2. #define    EXEC_RESIDENT_H
  3. /*
  4. **    $VER: resident.h 39.0 (15.10.91)
  5. **    Includes Release 40.15
  6. **
  7. **    Resident/ROMTag stuff.    Used to identify and initialize code modules.
  8. **
  9. **    (C) Copyright 1985-1993 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. #ifndef EXEC_TYPES_H
  14. #include "exec/types.h"
  15. #endif /* EXEC_TYPES_H */
  16.  
  17.  
  18. struct Resident {
  19.     UWORD rt_MatchWord;    /* word to match on (ILLEGAL)    */
  20.     struct Resident *rt_MatchTag; /* pointer to the above    */
  21.     APTR  rt_EndSkip;        /* address to continue scan    */
  22.     UBYTE rt_Flags;        /* various tag flags        */
  23.     UBYTE rt_Version;        /* release version number    */
  24.     UBYTE rt_Type;        /* type of module (NT_XXXXXX)    */
  25.     BYTE  rt_Pri;        /* initialization priority */
  26.     char  *rt_Name;        /* pointer to node name    */
  27.     char  *rt_IdString;    /* pointer to identification string */
  28.     APTR  rt_Init;        /* pointer to init code    */
  29. };
  30.  
  31. #define RTC_MATCHWORD    0x4AFC    /* The 68000 "ILLEGAL" instruction */
  32.  
  33. #define RTF_AUTOINIT    (1<<7)    /* rt_Init points to data structure */
  34. #define RTF_AFTERDOS    (1<<2)
  35. #define RTF_SINGLETASK    (1<<1)
  36. #define RTF_COLDSTART    (1<<0)
  37.  
  38. /* Compatibility: (obsolete) */
  39. /* #define RTM_WHEN       3 */
  40. #define RTW_NEVER    0
  41. #define RTW_COLDSTART    1
  42.  
  43. #endif    /* EXEC_RESIDENT_H */
  44.